home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / linux / system / LinuxConsole 0.4 / linuxconsole0.4install-en.iso / linuxconsole0.4.lcm / local / linuxconsole / share / alsa / cards / VIA8233A.conf < prev    next >
Encoding:
Text File  |  2004-03-26  |  1.7 KB  |  135 lines

  1. #
  2. # Configuration for the VIA8233A chip with 4/6 multi-channel support
  3. #
  4.  
  5. <confdir:pcm/front.conf>
  6.  
  7. VIA8233A.pcm.front.0 {
  8.     @args [ CARD ]
  9.     @args.CARD {
  10.         type string
  11.     }
  12.     type hw
  13.     card $CARD
  14.     device 0
  15. }    
  16.  
  17. <confdir:pcm/surround40.conf>
  18.  
  19. VIA8233A.pcm.surround40.0 {
  20.     @args [ CARD ]
  21.     @args.CARD {
  22.         type string
  23.     }
  24.     type hooks
  25.     slave.pcm {
  26.         type hw
  27.         card $CARD
  28.         device 0
  29.     }
  30.     hooks.0 {
  31.         type ctl_elems
  32.         hook_args [
  33.             {
  34.                 name "Swap Surround Slot"
  35.                 device 0
  36.                 lock true
  37.                 preserve true
  38.                 value flase
  39.                 optional true
  40.             }
  41.         ]
  42.     }
  43. }
  44.  
  45. <confdir:pcm/surround51.conf>
  46.  
  47. VIA8233A.pcm.surround51.0 {
  48.     @args [ CARD ]
  49.     @args.CARD {
  50.         type string
  51.     }
  52.     type hooks
  53.     slave.pcm {
  54.         type hw
  55.         card $CARD
  56.         device 0
  57.     }
  58.     hooks.0 {
  59.         type ctl_elems
  60.         hook_args [
  61.             {
  62.                 name "Swap Surround Slot"
  63.                 device 0
  64.                 lock true
  65.                 preserve true
  66.                 value true
  67.                 optional true
  68.             }
  69.         ]
  70.     }
  71. }
  72.  
  73. <confdir:pcm/iec958.conf>
  74.  
  75. VIA8233A.pcm.iec958.0 {
  76.     @args [ CARD AES0 AES1 AES2 AES3 ]
  77.     @args.CARD {
  78.         type string
  79.     }
  80.     @args.DEV {
  81.         type integer
  82.     }
  83.     @args.AES0 {
  84.         type integer
  85.     }
  86.     @args.AES1 {
  87.         type integer
  88.     }
  89.     @args.AES2 {
  90.         type integer
  91.     }
  92.     @args.AES3 {
  93.         type integer
  94.     }
  95.     type hooks
  96.     slave.pcm {
  97.         type hw
  98.         card $CARD
  99.         device 1
  100.     }
  101.     hooks.0 {
  102.         type ctl_elems
  103.         hook_args [
  104.             {
  105.                 name "IEC958 Playback AC97-SPSA"
  106.                 device 0
  107.                 lock true
  108.                 preserve true
  109.                 value 3
  110.             }
  111.             {
  112.                 name "IEC958 Playback Default"
  113.                 device 0
  114.                 lock true
  115.                 preserve true
  116.                 value [ $AES0 $AES1 $AES2 $AES3 ]
  117.             }
  118.             {
  119.                 name "IEC958 Playback Switch"
  120.                 device 0
  121.                 lock true
  122.                 preserve true
  123.                 value true
  124.             }
  125.             {
  126.                 name "IEC958 Output Switch"
  127.                 device 0
  128.                 lock true
  129.                 preserve true
  130.                 value true
  131.             }
  132.         ]
  133.     }
  134. }
  135.